/**********************************************************************
 *
 * $RCSfile: ComponentMgtTemplate.java,v $  $Revision: 1.3 $  $Date: 2009/06/03 06:25:14 $
 *
 * $Log: ComponentMgtTemplate.java,v $
 * Revision 1.3  2009/06/03 06:25:14  @author simplefan
 * *** empty log message ***
 *
 * Revision 1.2  2009/06/01 08:25:32  @author simplefan
 * *** empty log message ***
 *
 * Revision 1.1  2009/03/27 06:35:55  @author simplefan
 * *** empty log message ***
 *
 *
 *
 *********************************************************************/
/*
 * Copyright 2008 gxlu, Inc. All rights reserved.
 * File name : ComponentMgtTemplate.java
 * Created on : Mar 24, 2009 3:08:01 AM
 * Creator : lethe
 */
package com.simplefan.meta.determine.common.po;

import java.util.List;

/**
 * <pre>
 * Description : TODO
 * @author simplefan
 * </pre>
 */
public class ComponentMgtTemplate extends ComponentSpec {

  private long compMgtTemplateId;

  private String compMgtTemplateName;

  private List<MgtTemplateAttr> attrs;

  public List<MgtTemplateAttr> getAttrs() {
    return attrs;
  }

  public void setAttrs(List<MgtTemplateAttr> attrs) {
    this.attrs = attrs;
  }

  public ComponentMgtTemplate(){

  }

  public ComponentMgtTemplate(ComponentSpec spec){
    setId(spec.getId());
    setName(spec.getName());
    setCode(spec.getCode());
    setAlias(spec.getAlias());
    setComponentDirId(spec.getComponentDirId());
    setComponentTableName(spec.getComponentTableName());
    setSequence(spec.getSequence());
    setPkName(spec.getPkName());
    setIconDir(spec.getIconDir());
    setStatus(spec.getStatus());
    setMaintainIndicator(spec.getMaintainIndicator());
    setCreateDate(spec.getCreateDate());
    setModifyDate(spec.getModifyDate());
    setComments(spec.getComments());
    setVersion(spec.getVersion());
    setVersionInstanceId(spec.getVersionInstanceId());
    setStatusDesc(spec.getStatusDesc());
    setMaintainIndicatorDesc(spec.getMaintainIndicatorDesc());
  }

  public long getCompMgtTemplateId() {
    return compMgtTemplateId;
  }

  public void setCompMgtTemplateId(long compMgtTemplateId) {
    this.compMgtTemplateId = compMgtTemplateId;
  }

  public String getCompMgtTemplateName() {
    return compMgtTemplateName;
  }

  public void setCompMgtTemplateName(String compMgtTemplateName) {
    this.compMgtTemplateName = compMgtTemplateName;
  }

}
